package cn.com.chengmandian.core.common.constants;

import java.math.BigDecimal;

public interface CommonConstant {
    /**
     * app/web标识信息头
     */
    String HEADER_CLIENT_ID = "x-header-client";
    String HEADER_AGENT = "x-header-agent";
    String HEADER_TENANT = "x-header-tenant";
    String HEADER_AREA = "x-header-area";

    String HEADER_COMPANY = "x-header-company";

    /** 默认日期时间格式 */
    String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
    /** 默认日期格式 */
    String DEFAULT_DATE_FORMAT = "yyyy-MM-dd";
    /** 默认时间格式 */
    String DEFAULT_TIME_FORMAT = "HH:mm:ss";
    /** 默认时间格式 */
    String DEFAULT_TIME_ZONE = "GMT+8:00";
    /** 默认最大金额*/
    BigDecimal DEFAULT_PRICE_MAX = new BigDecimal("9999");
    /**
     * 数字常量
     */
    Integer ZERO = 0;
    Integer ONE = 1;
    Integer TWO = 2;
    Integer THREE = 3;
    Integer FOUR = 4;
    Integer FIVE = 5;
    Integer SIX = 6;
    Integer SEVEN = 7;
    Integer EIGHT = 8;
    Integer NINE = 9;
    Integer TEN = 10;
}
